/**
 * path: 地址url
 *   @property：详情页面的url必须添加父级地址，否则menu处无法联动打开
 * name：唯一表示
 * menuName：展示在meun的名字
 * hidden：是否展示在menu上
 * component：渲染组件
 * parentName: 与父级相对应的name，用于icon变色
 * imageUrl: 未选择图片
 * imageUrlActive: 选中图片,
 * meta：{
 *    keepAlive:  true开启页面缓存
 * }
 */
import zl from '@/assets/image/zl.png'
import zl_g from '@/assets/image/zl_g.png'
import xd from '@/assets/image/xd.png'
import xd_g from '@/assets/image/xd_g.png'
import xj from '@/assets/image/xj.png'
import xj_g from '@/assets/image/xj_g.png'
import yjsz from '@/assets/image/yjsz.png'
import yjsz_g from '@/assets/image/yjsz_g.png'
export const routes: commonTypes.menuItem[] = [
  {
    path: '/login',
    name: 'login',
    menuName: '登录',
    hidden: true,
    component: () => import('@/views/loginPage.vue')
  },
  {
    path: '/',
    name: 'overview',
    menuName: '工作台',
    hidden: false,
    imageUrl: zl,
    imageUrlActive: zl_g,
    component: () => import('@/views/HomeView.vue')
  }
]
